<?php
header("Content-Type: text/html; charset=iso-8859-1");
require 'include.php';
$keyword = (!empty($_REQUEST['keyword'])) ? $_REQUEST['keyword'] : "";
if($keyword){
	$q = "select concat(prenom,' ',nom) as membre,id from membres where nom like '$keyword%' or prenom like '$keyword%' order by nom, prenom";
	$r = ExecRequete($q);
	echo "<ul>\n";
	while($s = LigneSuivante($r)){
		echo "<li>$s->membre</li>";
	}
	echo "</ul>\n";
}
?>
